using System;
using System.Collections.Generic;
using System.Text;
using OneSoft.EntityCore;

namespace BySoft.Server.Common.Schema
{
[Serializable]
public class BsOrderTable : TableInfo
{
public const string C_TABLENAME = "Bs_Order";

public const string C_ORDERID = "ORDERID";

public const string C_BILLDATE = "BILLDATE";

public const string C_ORDERTYPE = "ORDERTYPE";

public const string C_QUOTEID = "QUOTEID";

public const string C_CUSTOMERID = "CUSTOMERID";

public const string C_CONTACTNAME = "CONTACTNAME";

public const string C_MOBILE = "MOBILE";

public const string C_SENDCUSTOMERID = "SENDCUSTOMERID";

public const string C_SENDCONTACTNAME = "SENDCONTACTNAME";

public const string C_SENDMOBILE = "SENDMOBILE";

public const string C_DELIVERYDATE = "DELIVERYDATE";

public const string C_ISPREORDER = "ISPREORDER";

public const string C_OFFICIALORDER = "OFFICIALORDER";

public const string C_CURRENCY = "CURRENCY";

public const string C_ISTAX = "ISTAX";

public const string C_TAXRATE = "TAXRATE";

public const string C_STATUS = "STATUS";

public const string C_CREATEDATE = "CREATEDATE";

public const string C_MODIFYUSERNAME = "MODIFYUSERNAME";

public const string C_CREATEUSERID = "CREATEUSERID";

public const string C_CREATEUSERNAME = "CREATEUSERNAME";

public const string C_MODIFYDATE = "MODIFYDATE";

public const string C_MODIFYUSERID = "MODIFYUSERID";

public BsOrderTable()
{
_tableName = "Bs_Order";
}

protected static BsOrderTable _current;
public static BsOrderTable Current
{
get
{
if (_current == null )
{
Initial();
}
return _current;
}
}

private static void Initial()
{
_current = new BsOrderTable();

_current.Add(C_ORDERID, new ColumnInfo(C_ORDERID, "", true, typeof(String)));

_current.Add(C_BILLDATE, new ColumnInfo(C_BILLDATE, "", false, typeof(DateTime?)));

_current.Add(C_ORDERTYPE, new ColumnInfo(C_ORDERTYPE, "", false, typeof(String)));

_current.Add(C_QUOTEID, new ColumnInfo(C_QUOTEID, "", false, typeof(String)));

_current.Add(C_CUSTOMERID, new ColumnInfo(C_CUSTOMERID, "", false, typeof(String)));

_current.Add(C_CONTACTNAME, new ColumnInfo(C_CONTACTNAME, "", false, typeof(String)));

_current.Add(C_MOBILE, new ColumnInfo(C_MOBILE, "", false, typeof(String)));

_current.Add(C_SENDCUSTOMERID, new ColumnInfo(C_SENDCUSTOMERID, "", false, typeof(String)));

_current.Add(C_SENDCONTACTNAME, new ColumnInfo(C_SENDCONTACTNAME, "", false, typeof(String)));

_current.Add(C_SENDMOBILE, new ColumnInfo(C_SENDMOBILE, "", false, typeof(String)));

_current.Add(C_DELIVERYDATE, new ColumnInfo(C_DELIVERYDATE, "", false, typeof(DateTime?)));

_current.Add(C_ISPREORDER, new ColumnInfo(C_ISPREORDER, "", false, typeof(String)));

_current.Add(C_OFFICIALORDER, new ColumnInfo(C_OFFICIALORDER, "", false, typeof(String)));

_current.Add(C_CURRENCY, new ColumnInfo(C_CURRENCY, "", false, typeof(String)));

_current.Add(C_ISTAX, new ColumnInfo(C_ISTAX, "", false, typeof(String)));

_current.Add(C_TAXRATE, new ColumnInfo(C_TAXRATE, "", false, typeof(Decimal?)));

_current.Add(C_STATUS, new ColumnInfo(C_STATUS, "", false, typeof(String)));

_current.Add(C_CREATEDATE, new ColumnInfo(C_CREATEDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERNAME, new ColumnInfo(C_MODIFYUSERNAME, "", false, typeof(String)));

_current.Add(C_CREATEUSERID, new ColumnInfo(C_CREATEUSERID, "", false, typeof(String)));

_current.Add(C_CREATEUSERNAME, new ColumnInfo(C_CREATEUSERNAME, "", false, typeof(String)));

_current.Add(C_MODIFYDATE, new ColumnInfo(C_MODIFYDATE, "", false, typeof(DateTime?)));

_current.Add(C_MODIFYUSERID, new ColumnInfo(C_MODIFYUSERID, "", false, typeof(String)));

}

public ColumnInfo ORDERID
{
get { return this[C_ORDERID]; }
}

public ColumnInfo BILLDATE
{
get { return this[C_BILLDATE]; }
}

public ColumnInfo ORDERTYPE
{
get { return this[C_ORDERTYPE]; }
}

public ColumnInfo QUOTEID
{
get { return this[C_QUOTEID]; }
}

public ColumnInfo CUSTOMERID
{
get { return this[C_CUSTOMERID]; }
}

public ColumnInfo CONTACTNAME
{
get { return this[C_CONTACTNAME]; }
}

public ColumnInfo MOBILE
{
get { return this[C_MOBILE]; }
}

public ColumnInfo SENDCUSTOMERID
{
get { return this[C_SENDCUSTOMERID]; }
}

public ColumnInfo SENDCONTACTNAME
{
get { return this[C_SENDCONTACTNAME]; }
}

public ColumnInfo SENDMOBILE
{
get { return this[C_SENDMOBILE]; }
}

public ColumnInfo DELIVERYDATE
{
get { return this[C_DELIVERYDATE]; }
}

public ColumnInfo ISPREORDER
{
get { return this[C_ISPREORDER]; }
}

public ColumnInfo OFFICIALORDER
{
get { return this[C_OFFICIALORDER]; }
}

public ColumnInfo CURRENCY
{
get { return this[C_CURRENCY]; }
}

public ColumnInfo ISTAX
{
get { return this[C_ISTAX]; }
}

public ColumnInfo TAXRATE
{
get { return this[C_TAXRATE]; }
}

public ColumnInfo STATUS
{
get { return this[C_STATUS]; }
}

public ColumnInfo CREATEDATE
{
get { return this[C_CREATEDATE]; }
}

public ColumnInfo MODIFYUSERNAME
{
get { return this[C_MODIFYUSERNAME]; }
}

public ColumnInfo CREATEUSERID
{
get { return this[C_CREATEUSERID]; }
}

public ColumnInfo CREATEUSERNAME
{
get { return this[C_CREATEUSERNAME]; }
}

public ColumnInfo MODIFYDATE
{
get { return this[C_MODIFYDATE]; }
}

public ColumnInfo MODIFYUSERID
{
get { return this[C_MODIFYUSERID]; }
}

}
}